//
//  CacheDataLayer.h
//  MCF3
//
//  Created by QianDeng on 15/8/14.
//  Copyright (c) 2015年 ac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CacheDataLayer : NSObject

//保存序列化存储文件
+ (BOOL) saveSingleObj:(id)Data byName:(NSString *)Name;
//获取序列化存储文件
+(id) getSingleObjByName:(NSString *)Name;
//移除沙盒序列化文件
+ (void)removeSingleObj:(NSString *)name;

//获取Plist文件
+ (NSDictionary *)getPlistData:(NSString *)name;
//保存PLIST文件
+ (void)saveDataToPlist:(NSDictionary*)dic fileName:(NSString *)name;
//移除PLIST文件
+ (void)removePlistData:(NSString *)name;

//获取Plist文件
+ (NSDictionary *)getPlistDataWithFileName:(NSString *)fName keyName:(NSString *)kName;
//保存PLIST文件
+ (void)saveDataToPlist:(NSDictionary*)dic fileName:(NSString *)fName keyName:(NSString *)kName;

@end
